package java.annotation8注解实现类;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
//MyAnnotationImpl是对@MyAnnotation注解的实现，通过@Constraint注解链接，可以有多个实现类用','分隔
//@Constraint(validatedBy=MyAnnotationImpl.class,MyAnnotationImpl2.class)
public @interface MyAnnotation {
    String value();
}
